<template>
<div>
  <div class="comment" >
      <p>用户名：</p>
      <div class="words">{{con}}</div>
  </div>
</div>

</template>

<script>
export default {
    name: 'message',
    props: {
      con: String
    },
}
</script>

<style>
.comment {
  max-width: 720px;
  background: pink;
  border-radius: 10px;
  margin: 0 auto;
}
p {
  margin-left: 10px
}
.words {
  margin-left: 60px;
  font-weight: bold;
}
</style>